Optimal. Leaf size=15 \[ \frac{\log \left (b+c x^n\right )}{c n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0124989, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {1584, 260} \[ \frac{\log \left (b+c x^n\right )}{c n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 260
Rubi steps
\begin{align*} \int \frac{x^{-1+2 n}}{b x^n+c x^{2 n}} \, dx &=\int \frac{x^{-1+n}}{b+c x^n} \, dx\\ &=\frac{\log \left (b+c x^n\right )}{c n}\\ \end{align*}
Mathematica [A] time = 0.0037878, size = 15, normalized size = 1. \[ \frac{\log \left (b+c x^n\right )}{c n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 18, normalized size = 1.2 \begin{align*}{\frac{\ln \left ( c{{\rm e}^{n\ln \left ( x \right ) }}+b \right ) }{cn}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.987509, size = 26, normalized size = 1.73 \begin{align*} \frac{\log \left (\frac{c x^{n} + b}{c}\right )}{c n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.90315, size = 30, normalized size = 2. \begin{align*} \frac{\log \left (c x^{n} + b\right )}{c n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 14.0103, size = 37, normalized size = 2.47 \begin{align*} \begin{cases} \frac{\log{\left (x \right )}}{b} & \text{for}\: c = 0 \wedge n = 0 \\\frac{\log{\left (x \right )}}{b + c} & \text{for}\: n = 0 \\\frac{x^{n}}{b n} & \text{for}\: c = 0 \\- \frac{\log{\left (x \right )}}{c} + \frac{\log{\left (\frac{b x^{n}}{c} + x^{2 n} \right )}}{c n} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2 \, n - 1}}{c x^{2 \, n} + b x^{n}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]